package com.bestom.bluetoothlock.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;


import com.bestom.bluetoothlock.R;
import com.bestom.bluetoothlock.activity.HelpActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MineFragment extends Fragment {
    @BindView(R.id.tv_account_name)
    TextView tv_account_name;
    @BindView(R.id.tv_title)
    TextView tv_title;
    private View view;

    @Nullable
    public View onCreateView(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
        this.view = layoutInflater.inflate(R.layout.fragment_mine, viewGroup, false);
        ButterKnife.bind((Object) this, this.view);
        initView();
        return this.view;
    }

    private void initView() {
        this.tv_title.setText(getString(R.string.main_setting));
    }

    /* access modifiers changed from: package-private */
    @OnClick({R.id.user_guide})
    public void onClickView(View view2) {
        if (view2.getId() == R.id.user_guide) {
            startActivity(new Intent(getActivity(), HelpActivity.class));
        }
    }
}
